package danny.hoi.dao.export.system;

import danny.hoi.domain.export.system.Dept;
import danny.hoi.domain.export.system.DeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeptDao {
    int deleteByPrimaryKey(String deptId);

    int insert(Dept record);

    int insertSelective(Dept record);

    List<Dept> selectByExample(DeptExample example);

    Dept selectByPrimaryKey(String deptId);

    int updateByExampleSelective(@Param("record") Dept record, @Param("example") DeptExample example);

    int updateByExample(@Param("record") Dept record, @Param("example") DeptExample example);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
}